package com.CommunityHub.kiana.po;

import java.math.BigDecimal;

public class HouseInfo {
    private Integer houseId;
    private String houseName;
    private String buildingNumber;
    private String unitNumber;
    private String roomNumber;
    private BigDecimal area; // 面积(平方米)
    private BigDecimal price;
    private Integer status; // 0=可售,1=已售
    private Integer buyerId;
    private String houseImage;// 购买会员ID

    // Getters and Setters

    public HouseInfo() {
    }

    public HouseInfo(Integer houseId, String houseName, String buildingNumber, String unitNumber, String roomNumber, BigDecimal area, BigDecimal price, Integer status, Integer buyerId, String house_image) {
        this.houseId = houseId;
        this.houseName = houseName;
        this.buildingNumber = buildingNumber;
        this.unitNumber = unitNumber;
        this.roomNumber = roomNumber;
        this.area = area;
        this.price = price;
        this.status = status;
        this.buyerId = buyerId;
        this.houseImage = house_image;
    }

    public Integer getHouseId() {
        return houseId;
    }

    public void setHouseId(Integer houseId) {
        this.houseId = houseId;
    }

    public String getHouseName() {
        return houseName;
    }

    public void setHouseName(String houseName) {
        this.houseName = houseName;
    }

    public String getBuildingNumber() {
        return buildingNumber;
    }

    public void setBuildingNumber(String buildingNumber) {
        this.buildingNumber = buildingNumber;
    }

    public String getUnitNumber() {
        return unitNumber;
    }

    public void setUnitNumber(String unitNumber) {
        this.unitNumber = unitNumber;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public BigDecimal getArea() {
        return area;
    }

    public void setArea(BigDecimal area) {
        this.area = area;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Integer buyerId) {
        this.buyerId = buyerId;
    }

    public String getHouseImage() {
        return houseImage;
    }

    public void setHouseImage(String houseImage) {
        this.houseImage = houseImage;
    }
}